package book.book.bean;

public class Books {
    private String bookid;
    private String bookname;
    private String publisher;
    private String author;
    private String booktype;
    private int remain;

    public Books() {
    }

    public Books(String bookid, String bookname, String publisher, String author, String booktype, int remain) {
        this.bookid = bookid;
        this.bookname = bookname;
        this.publisher = publisher;
        this.author = author;
        this.booktype = booktype;
        this.remain = remain;
    }

    public String getBookid() {
        return bookid;
    }

    public void setBookid(String bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBooktype() {
        return booktype;
    }

    public void setBooktype(String booktype) {
        this.booktype = booktype;
    }

    public int getRemain() {
        return remain;
    }

    public void setRemain(int remain) {
        this.remain = remain;
    }

    @Override
    public String toString() {
        return "Books{" +
                "bookid='" + bookid + '\'' +
                ", bookname='" + bookname + '\'' +
                ", publisher='" + publisher + '\'' +
                ", author='" + author + '\'' +
                ", booktype='" + booktype + '\'' +
                ", remain=" + remain +
                '}';
    }
}
